package com.xfcy.blog.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;

/**
 * (ExceptionLog)表实体类
 *
 * @author 晓风残月Lx
 * @since 2023-04-09 11:03:05
 */
@TableName("b_exception_log")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ExceptionLog implements Serializable {
    //主键
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //用户名
    private String username;
    //IP
    private String ip;
    //ip来源
    private String ipSource;
    //请求方法
    private String method;
    //描述
    private String operation;
    //参数
    private String params;
    //异常对象json格式
    private String exceptionJson;
    //异常简单信息,等同于e.getMessage
    private String exceptionMessage;
    //发生时间
    private LocalDateTime createTime;

}

